package adv5;

import java.io.FileNotFoundException;
import java.io.FileReader;

/**
 * @author oldliu
 * @since 1.0
 */
public class ZifuReader {
    public static void main(String[] args) {
        try {
            FileReader f=new FileReader("javaAdvance/src/adv5/FilePath.java");
            int ch=0;
            while ((ch=f.read())!=-1){
                System.out.print((char)ch);
                //System.out.println(ch);
            }
            f.close();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
